/*
 * @Author: Wxx
 * @Date: 2022-02-26 15:32:57
 * @LastEditors: Wxx
 * @LastEditTime: 2022-02-26 15:34:19
 * @Description:
 */
const CinemasList = (
  prevState = {
    cinemasList: [],
  },
  action
) => {
  const newState = { ...prevState };
  switch (action.type) {
    case "saveCinemasList":
      newState.cinemasList = action.payload;
      return newState;
    default:
      return prevState;
  }
};
export default CinemasList;
